﻿using System;
using System.Collections.Generic;

using RexToy.Cassandra.Meta;

namespace RexToy.Cassandra
{
    public interface ICassandraContext : IDisposable
    {
        string ClusterName { get; }
        string APIVersion { get; }
        SchemaVersion SchemaVersion { get; }

        IColumnFamily<K, C> GetColumnFamily<K, C>(string name);
        ICounterColumnFamily<K, C> GetCounterColumnFamily<K, C>(string name);
        ISuperColumnFamily<K, C, S> GetColumnFamily<K, C, S>(string name);
    }
}
